package c.e.b.h.e.k;

import c.e.b.h.e.s.i.b;

/* compiled from: DataTransportState */
public enum m0 {
    NONE,
    JAVA_ONLY,
    ALL;

    public static m0 a(b bVar) {
        Object obj = null;
        Object obj2 = bVar.g == 2 ? 1 : null;
        if (bVar.h == 2) {
            obj = 1;
        }
        if (obj2 == null) {
            return NONE;
        }
        if (obj == null) {
            return JAVA_ONLY;
        }
        return ALL;
    }
}
